package com.freesky.biz.activity.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class TAlipayCouponDetail implements java.io.Serializable{

    private static final long serialVersionUID = 1L;

    private String id;
    private String appId;
    private String openId;
    private String activityId;
    private String activityOrderId;
    private String voucherId;
    private String amt;
    private String status;
    private String busiId;
    private String createDate;
    private String updateDate;


    private String stockId;
    private String statusMsg;
    private String reissueFlag;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Map<String, Object> params;

    public Map<String, Object> getParams() {
        if (params == null)
        {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }
}
